﻿package com.victim.snake.style{
	import flash.display.Sprite;
	import com.victim.snake.util.Loader;
	import flash.display.LoaderInfo;
	import flash.display.Bitmap;
	import flash.events.Event;

	//ComboBoxCellRendererUpSkin皮肤
	public class ComboBoxCellRendererUpSkin extends Sprite{
		
		
		public function ComboBoxCellRendererUpSkin() {			
			this.graphics.beginFill(0x598d00);
			this.graphics.drawRect(0, 0, 109, 32);
			this.graphics.endFill();
			this.alpha = 1;
			//new Loader("image/main/chat/comboBoxListUpSkin.png",this.comboBoxListUpSkinEvent);			
		}		
		
		public function comboBoxListUpSkinEvent(event:Event):void{
			var loaderInfo:LoaderInfo=LoaderInfo(event.target);
			this.addChildAt(Bitmap(loaderInfo.content),0);
		}
		
	}
	
}
